package org.makcro.sms.services.chat.web.shared.dto;

import java.util.Date;

import org.makcro.sms.services.chat.model.BulkMessage;

import com.extjs.gxt.ui.client.data.BeanModel;

/**
 * Bean model for {@link BulkMessage}
 * 
 * @author makcro
 * 
 */
public class BulkMessageDto extends BeanModel {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1L;


	public Long getId() {
		return get( "id");
	}

	public void setId(Long id) {
		set("id", id);
	}

	public String getReceiver() {
		return get("receiver");
	}

	public void setReceiver(String toNumber) {
		set("receiver", toNumber);
	}

	public String getMessageText() {
		return get("messageText");
	}

	public void setMessageText(String text) {
		set("messageText", text);
	}

	public Boolean getDelivered() {
		return get("delivered");
	}

	public void setDelivered(Boolean deliveryStatus) {
		set("delivered", deliveryStatus);
	}
	
	public void setSendingTime(Date sendingTime){
		set("sendingTime", sendingTime);
	}
	
	public Date getSendingTime() {
		return get("sendingTime");
	}

}
